package yf.mall.service;

import yf.mall.entity.LevelRecordEntity;
import yf.mall.vo.LevelRecordVo;
import com.yf.service.BaseService;
import java.io.InputStream;
import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * 级别记录Service接口
 *
 *
 *
 * @date Tue Apr 25 09:50:33 CST 2023
 */
public interface LevelRecordService extends BaseService<LevelRecordEntity> {

    /************自动生成**************/
    List<LevelRecordVo> findVo(LevelRecordVo vo);

        LevelRecordVo getVo(Long id);

     int updateVo(LevelRecordVo vo);

       int saveVo(LevelRecordVo vo);

    void downLoad(HttpServletResponse response, List<LevelRecordVo> list);

    void upload(InputStream file);

    /***********BACK***********/

    void addRecord(Long userId,Long nowLvId,Long oldLvId,String orderNo,String remark);

    List<LevelRecordEntity> findByMonth(Date date);


    /***********API***********/


}
